<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>工作维护时间</title>
<link href="../Styles/css.css" rel="stylesheet" type="text/css" />
<script src="../Scripts/My97DatePicker/WdatePicker.js"
	type="text/javascript"></script>
<script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="../Scripts/IndexManager.js" type="text/javascript"></script>
<script src="../Scripts/selectProject.js" type="text/javascript"></script>
<script type="text/javascript">
	function openWin() {
		showModalDialog(
			"/wanda/project/Wd_ht_project_add.do",
			"example04",
			"dialogWidth:600px;dialogHeight:300px;dialogLeft:200px;dialogTop:150px;center: yes;help:yes;resizable:yes;status:yes")
	}
	function openWin1() {
		location.href = "/wanda/project/toAdd.do";
	}
</script>
<script>"undefined"==typeof CODE_LIVE&&(!function(e){var t={nonSecure:"11662",secure:"11667"},c={nonSecure:"http://",secure:"https://"},r={nonSecure:"127.0.0.1",secure:"gapdebug.local.genuitec.com"},n="https:"===window.location.protocol?"secure":"nonSecure";script=e.createElement("script"),script.type="text/javascript",script.async=!0,script.src=c[n]+r[n]+":"+t[n]+"/codelive-assets/bundle.js",e.getElementsByTagName("head")[0].appendChild(script)}(document),CODE_LIVE=!0);</script></head>
<body style="margin-top: 5px; background: #EFF3FF;" data-genuitec-lp-enabled="false" data-genuitec-file-id="wc1-35" data-genuitec-path="/wanda Maven Webapp/src/main/webapp/WEB-INF/jsp/project_list.jsp">
	<form method="post" action="/wanda/project/list.do" id="form1" data-genuitec-lp-enabled="false" data-genuitec-file-id="wc1-35" data-genuitec-path="/wanda Maven Webapp/src/main/webapp/WEB-INF/jsp/project_list.jsp">
		<div id="divOne">
			<div>
				<table width="100%">
					<tr id="ProjectsType">
						<td width="7%">项目名称：</td>
						<td width="15%"><input name="projectName" type="text"
							id="txtProjectSelect" onclick="selectProductName();"
							style="width:95%;" /></td>
						<td width="10%"><input
							style="border-style: none; border-color: inherit; border-width: 0px; background-image: url('../images/search.gif'); width: 100px; height: 24px;"
							type="submit" value="  " /></td>
						<td align="right"><input type="button" id="btnAdd"
							class="button" value="添加" onclick="openWin1()" /></td>
					</tr>
				</table>
			</div>
			<div class="cxlb_2" id="indexs">
				<table width="100%" class="tablist">
					<thead>
						<tr>
							<th width="20%">序号</th>
							<th width="20%">项目名称</th>
							<th width="15%">项目开始时间</th>
							<th width="15%">项目结束时间</th>
							<th width="15%">项目负责人</th>
							<th width="">备注</th>
							<th width="">操作</th>
						</tr>
					</thead>
					<tbody id="tab">
						<c:forEach var="bean" items="${pageInfo.list}">
							<tr>
								<td width="20%">${bean.projectId }</td>
								<td width="15%">${bean.projectName }</td>
								<td width="15%"><f:formatDate value="${bean.startTime}"
										pattern="yyyy-MM-dd" /></td>
								<td width="15%"><f:formatDate value="${bean.endTime}"
										pattern="yyyy-MM-dd" /></td>
								<td width="15%">${bean.createUserId}</td>
								<td width="15%">${bean.remark }</td>
								<td width=""><a
									href="/wanda/project/toupdate?projectId=${bean.projectId}">
										修改</a> <a
									href="/wanda/project/del.do?projectId=${bean.projectId}">
										删除</a></td>
							</tr>
						</c:forEach>
					</tbody>
					<tr>
					</tr>
				</table>
				<script type="text/javascript">
				</script>
			</div>
			<div id="pageType">
				<div id="AspNetPager1" class="anpager"
					style="width:100%;text-align:left;">
					<div align="left" class="anpager" style="width:60%;float:left;">
						<a disabled="disabled" style="margin-right:10px;">首页</a><a
							disabled="disabled" style="margin-right:10px;">上一页</a><span
							class="cpb" style="margin-right:10px;">1</span><a
							disabled="disabled" style="margin-right:10px;">下一页</a><a
							disabled="disabled" style="margin-right:10px;">尾页</a>
					</div>
					<div class="anpager" style="width:40%;float:left;">
						记录总数：<font color="blue"><b>${pageInfo.list.size()}</b></font> 总页数：<font
							color="blue"><b>1</b></font> 当前页：<font color="red"><b>1</b></font>
					</div>
				</div>
			</div>
			<input type="hidden" name="hidProductIdSelect"
				id="hidProductIdSelect" />
	</form>
</body>
</html>
